package cn.tedu.crm.role.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import javax.validation.Valid;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE )
public class RoleQuery {
    /**
     * 页码
     */
    private Integer pageNum;

    /**
     * 页大小
     */
    private Integer pageSize;
    @ApiModelProperty(value = "角色id")
    Integer id;
    @ApiModelProperty(value = "角色名字")
    String name;
}
